//
//  RankCell.m
//  XiangCaoJiaYuan
//
//  Created by tongj on 2017/8/23.
//  Copyright © 2017年 tongj. All rights reserved.
//

#import "RankCell.h"

@implementation RankCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
-(void)setModel:(RankModel *)model{
    
    self.NickName.text = model.shop_name;
    self.Munb.text = [NSString stringWithFormat:@"%d",model.redPacket_sum];
    [self.HeadImage sd_setImageWithURL:[NSURL URLWithString:model.head_image] placeholderImage:[UIImage imageNamed:@"抽奖记录_03.png"]];

}
@end
